<template lang="html">
  <div class="TanContent2Box">
    <el-row>
      <el-col :span="3" class="text-right">
        <span>商家名：</span>
      </el-col>
      <el-col :span="6" class="text-left">
        <el-input v-model="orderNumb" size="small" class="text" placeholder="请输入内容"></el-input>
      </el-col>
      <el-col :span="10" class="text-left" style="margin-left:10px;">
        <el-checkbox class="check" v-model="checked"><span>是总公司</span></el-checkbox>
        <span class="gray" style="font-size:12px;">最多12个汉字，字符算半个</span>
      </el-col>
    </el-row>
    <el-row style="margin-top:10px;">
      <el-col :span="3" class="text-right" >
        <span >商家logo：</span>
      </el-col>
      <el-col :span="12" >
        <el-upload
          class="upload-demo"
          action="https://jsonplaceholder.typicode.com/posts/"
          :file-list="fileList2"
          :show-file-list="true"
          list-type="picture">
          <el-button size="small" type="success" class="btn">本地上传</el-button>
          <span slot="tip" class="el-upload__tip">请上传500x500px，清晰正面logo</span>
        </el-upload>
      </el-col>
    </el-row>
    <el-row style="margin-top:10px;">
      <el-col :span="2" :offset="3">
        <el-button type="success" size="small">保存</el-button>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  data(){
    return {
      checked:false,
      orderNumb:'',
      fileList2:[]
    }
  }
}
</script>

<style lang="Sass" scoped>
.TanContent2Box{

  span{line-height: 30px; font-size: 13px;}

  .el-checkbox__label{font-size: 12px;}
  .upload-demo{text-align: left;}
  .el-upload__tip{margin-left: 10px;}
}
</style>
